<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>EBVRDBModel Class Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">EBVR </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">Buyforyou</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	
	<option value="overview">Overview</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	
	<optgroup label="Properties">
		
		<option value="//api/name/columeNames">columeNames</option>
		
		<option value="//api/name/columeTypes">columeTypes</option>
		
		<option value="//api/name/pk">pk</option>
		
	</optgroup>
	

	
	<optgroup label="Class Methods">
		
		<option value="//api/name/clearTable">+ clearTable</option>
		
		<option value="//api/name/createTable">+ createTable</option>
		
		<option value="//api/name/deleteObjects:">+ deleteObjects:</option>
		
		<option value="//api/name/deleteObjectsByCriteria:">+ deleteObjectsByCriteria:</option>
		
		<option value="//api/name/deleteObjectsWithFormat:">+ deleteObjectsWithFormat:</option>
		
		<option value="//api/name/findAll">+ findAll</option>
		
		<option value="//api/name/findByCriteria:">+ findByCriteria:</option>
		
		<option value="//api/name/findByPK:">+ findByPK:</option>
		
		<option value="//api/name/findFirstByCriteria:">+ findFirstByCriteria:</option>
		
		<option value="//api/name/getAllProperties">+ getAllProperties</option>
		
		<option value="//api/name/getColumns">+ getColumns</option>
		
		<option value="//api/name/getPropertys">+ getPropertys</option>
		
		<option value="//api/name/isExistInTable">+ isExistInTable</option>
		
		<option value="//api/name/saveObjects:">+ saveObjects:</option>
		
		<option value="//api/name/transients">+ transients</option>
		
		<option value="//api/name/updateObjects:">+ updateObjects:</option>
		
	</optgroup>
	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/deleteObject">- deleteObject</option>
		
		<option value="//api/name/save">- save</option>
		
		<option value="//api/name/saveOrUpdate">- saveOrUpdate</option>
		
		<option value="//api/name/saveOrUpdateByColumnName:AndColumnValue:">- saveOrUpdateByColumnName:AndColumnValue:</option>
		
		<option value="//api/name/update">- update</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">EBVRDBModel Class Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Inherits from</th>
	<td>NSObject</td>
</tr><tr>
	<th>Declared in</th>
	<td>EBVRDBModel.h<br />EBVRDBModel.m</td>
</tr>
						</tbody></table></div>
					

                    
					
					<div class="section section-overview">
						<a title="Overview" name="overview"></a>
						<h2 class="subtitle subtitle-overview">Overview</h2>
						<p>SQLite五种数据类型</p>
					</div>
					
					

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						
						

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/pk" title="pk"></a>
	<h3 class="method-title"><code><a href="#//api/name/pk">&nbsp;&nbsp;pk</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>主键 id</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) int pk</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>主键 id</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/columeNames" title="columeNames"></a>
	<h3 class="method-title"><code><a href="#//api/name/columeNames">&nbsp;&nbsp;columeNames</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>列名</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (retain, readonly, nonatomic) NSMutableArray *columeNames</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>列名</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/columeTypes" title="columeTypes"></a>
	<h3 class="method-title"><code><a href="#//api/name/columeTypes">&nbsp;&nbsp;columeTypes</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>列类型</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (retain, readonly, nonatomic) NSMutableArray *columeTypes</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>列类型</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/getPropertys" title="getPropertys"></a>
	<h3 class="method-title"><code><a href="#//api/name/getPropertys">+&nbsp;getPropertys</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取该类的所有属性</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (NSDictionary *)getPropertys</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取该类的所有属性</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/getAllProperties" title="getAllProperties"></a>
	<h3 class="method-title"><code><a href="#//api/name/getAllProperties">+&nbsp;getAllProperties</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取所有属性，包括主键</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (NSDictionary *)getAllProperties</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取所有属性，包括主键</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/isExistInTable" title="isExistInTable"></a>
	<h3 class="method-title"><code><a href="#//api/name/isExistInTable">+&nbsp;isExistInTable</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>数据库中是否存在表</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (BOOL)isExistInTable</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>数据库中是否存在表</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/getColumns" title="getColumns"></a>
	<h3 class="method-title"><code><a href="#//api/name/getColumns">+&nbsp;getColumns</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>表中的字段</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (NSArray *)getColumns</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>表中的字段</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/saveOrUpdate" title="saveOrUpdate"></a>
	<h3 class="method-title"><code><a href="#//api/name/saveOrUpdate">&ndash;&nbsp;saveOrUpdate</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>保存或更新
如果不存在主键，保存，
有主键，则更新</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (BOOL)saveOrUpdate</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>保存或更新
如果不存在主键，保存，
有主键，则更新</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/saveOrUpdateByColumnName:AndColumnValue:" title="saveOrUpdateByColumnName:AndColumnValue:"></a>
	<h3 class="method-title"><code><a href="#//api/name/saveOrUpdateByColumnName:AndColumnValue:">&ndash;&nbsp;saveOrUpdateByColumnName:AndColumnValue:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>保存或更新
如果根据特定的列数据可以获取记录，则更新，
没有记录，则保存</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (BOOL)saveOrUpdateByColumnName:(NSString *)<em>columnName</em> AndColumnValue:(NSString *)<em>columnValue</em></code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>保存或更新
如果根据特定的列数据可以获取记录，则更新，
没有记录，则保存</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/save" title="save"></a>
	<h3 class="method-title"><code><a href="#//api/name/save">&ndash;&nbsp;save</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>保存单个数据</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (BOOL)save</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>保存单个数据</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/saveObjects:" title="saveObjects:"></a>
	<h3 class="method-title"><code><a href="#//api/name/saveObjects:">+&nbsp;saveObjects:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>批量保存数据</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (BOOL)saveObjects:(NSArray *)<em>array</em></code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>批量保存数据</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/update" title="update"></a>
	<h3 class="method-title"><code><a href="#//api/name/update">&ndash;&nbsp;update</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>更新单个数据</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (BOOL)update</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>更新单个数据</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/updateObjects:" title="updateObjects:"></a>
	<h3 class="method-title"><code><a href="#//api/name/updateObjects:">+&nbsp;updateObjects:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>批量更新数据</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (BOOL)updateObjects:(NSArray *)<em>array</em></code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>批量更新数据</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/deleteObject" title="deleteObject"></a>
	<h3 class="method-title"><code><a href="#//api/name/deleteObject">&ndash;&nbsp;deleteObject</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>删除单个数据</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (BOOL)deleteObject</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>删除单个数据</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/deleteObjects:" title="deleteObjects:"></a>
	<h3 class="method-title"><code><a href="#//api/name/deleteObjects:">+&nbsp;deleteObjects:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>批量删除数据</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (BOOL)deleteObjects:(NSArray *)<em>array</em></code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>批量删除数据</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/deleteObjectsByCriteria:" title="deleteObjectsByCriteria:"></a>
	<h3 class="method-title"><code><a href="#//api/name/deleteObjectsByCriteria:">+&nbsp;deleteObjectsByCriteria:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>通过条件删除数据</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (BOOL)deleteObjectsByCriteria:(NSString *)<em>criteria</em></code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>通过条件删除数据</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/deleteObjectsWithFormat:" title="deleteObjectsWithFormat:"></a>
	<h3 class="method-title"><code><a href="#//api/name/deleteObjectsWithFormat:">+&nbsp;deleteObjectsWithFormat:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>通过条件删除 (多参数）&ndash;2</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (BOOL)deleteObjectsWithFormat:(NSString *)<em>format</em>, <em>...</em></code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>通过条件删除 (多参数）&ndash;2</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/clearTable" title="clearTable"></a>
	<h3 class="method-title"><code><a href="#//api/name/clearTable">+&nbsp;clearTable</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>清空表</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (BOOL)clearTable</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>清空表</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/findAll" title="findAll"></a>
	<h3 class="method-title"><code><a href="#//api/name/findAll">+&nbsp;findAll</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>查询全部数据</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (NSArray *)findAll</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>查询全部数据</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/findByPK:" title="findByPK:"></a>
	<h3 class="method-title"><code><a href="#//api/name/findByPK:">+&nbsp;findByPK:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>通过主键查询</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (instancetype)findByPK:(int)<em>inPk</em></code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>通过主键查询</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/findFirstByCriteria:" title="findFirstByCriteria:"></a>
	<h3 class="method-title"><code><a href="#//api/name/findFirstByCriteria:">+&nbsp;findFirstByCriteria:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>查找某条数据</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (instancetype)findFirstByCriteria:(NSString *)<em>criteria</em></code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>查找某条数据</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/findByCriteria:" title="findByCriteria:"></a>
	<h3 class="method-title"><code><a href="#//api/name/findByCriteria:">+&nbsp;findByCriteria:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>通过条件查找数据
这样可以进行分页查询 @&ldquo; WHERE <a href="#//api/name/pk">pk</a> > 5 limit 10&rdquo;</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (NSArray *)findByCriteria:(NSString *)<em>criteria</em></code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>通过条件查找数据
这样可以进行分页查询 @&ldquo; WHERE <a href="#//api/name/pk">pk</a> > 5 limit 10&rdquo;</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/createTable" title="createTable"></a>
	<h3 class="method-title"><code><a href="#//api/name/createTable">+&nbsp;createTable</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>创建表
如果已经创建，返回YES</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (BOOL)createTable</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>创建表
如果已经创建，返回YES</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/transients" title="transients"></a>
	<h3 class="method-title"><code><a href="#//api/name/transients">+&nbsp;transients</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>如果子类中有一些property不需要创建数据库字段，那么这个方法必须在子类中重写</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (NSArray *)transients</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>如果子类中有一些property不需要创建数据库字段，那么这个方法必须在子类中重写</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">EBVRDBModel.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2017 Buyforyou. All rights reserved. Updated: 2017-07-27</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>